/**
 * @Author MrsGuo
 * version 1.0
 * @Date 2023-08-04 15:57
 */
package com.cl.erp_2301.Service.impl;

import com.cl.erp_2301.Service.UpdatePwdService;
import com.cl.erp_2301.entity.Emp;
import com.cl.erp_2301.mapper.UpdatePwdMapper;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

@Service
public class UpdatePwdServiceImpl implements UpdatePwdService {
    @Resource
    private UpdatePwdMapper updatePwdMapper;
    @Override
    public void updatePwd(String username,Integer uuid) {
        updatePwdMapper.updatePwd(username,uuid);
    }
    @Override
    public Emp getEmpById(Integer uuid) {
        return updatePwdMapper.getEmpById(uuid);
    }
}
